ADFA-3467 | Fix IllegalStateException caused by missing IDEDebugClientImpl instance#1473
ADFA-3467 | Fix IllegalStateException caused by missing IDEDebugClientImpl instance#1473jatezzz wants to merge 2 commits into
Conversation
…eException Avoid requiring an instance of IDEDebugClientImpl when it might not be initialized.
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.
Tip: disable this comment in your organization's Code Review settings.
|
@claude review once |
There was a problem hiding this comment.
Code review is billed via overage credits. To resume reviews, an organization admin can raise the monthly limit at claude.ai/admin-settings/claude-code.
Once credits are available, comment @claude review on this pull request to trigger a review.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (7)
📝 Walkthrough
WalkthroughDebugger action classes are modified to treat ChangesNullable debug client handling
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Description
This PR resolves an
IllegalStateException: Cannot lookup IDEDebugClientImplcrash that occurs when invoking debugger actions (such asKillVmAction,StepOverAction, etc.) before the debugger client is initialized or after it has been disposed.The
debugClientproperty inAbstractDebuggerActionhas been modified to be nullable (IDEDebugClientImpl?) and utilizesgetInstance()instead ofrequireInstance(). Safe calls (?.) and explicit null checks have been introduced across all subclass actions to safely ignore or skip operations if the debugging instance is missing.Details
Before
Screen.Recording.2026-07-02.at.10.24.11.AM.mov
After
Screen.Recording.2026-07-03.at.10.15.07.AM.mov
Ticket
ADFA-3467
Observation
All debugger actions inheriting from
AbstractDebuggerActionare now safe from throwing a termination exception if a user triggers shortcuts or interaction mechanisms while the VM is disconnected.